package com.hzhc.enumBean;

import java.util.stream.Stream;

/**
 * @author wuxiaoke
 * @description TODO
 * @date 2024/9/4 下午2:06
 */
public enum SystemTypeEnum {

    SCGLXT(0L,"生产管理系统"),
    YZSXT(1L,"一站式系统");

    private Long code;

    private String name;

    SystemTypeEnum(Long code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }
    public static Stream<FileTypeEnum> stream() {
        return Stream.of(FileTypeEnum.values());
    }
}
